<template>
    <div>
        <el-input type="textarea" autosize placeholder="请输入文字" v-model="text" clearable value="text">
        </el-input>
        <el-button type="primary" plain @click="handle">确认输入</el-button>
    </div>
</template>

<script>
    export default {
        name: "FontInput",
        data:function () {
            return{
                text:''
            }
        },
        methods:{
            handle:function () {
                this.$emit('text-input',this.text)
            }
        }
    }
</script>

<style scoped>

</style>
